package com.mall.platform.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TokenCheckController {

    @RequestMapping("/token/check")
    @ResponseBody
    public String tokenCheck(String signature,String timestamp,String nonce,String echostr){
        System.out.println("收到微信消息token认账,signature="+signature+",timestamp="+timestamp+",nonce="+nonce+",echostr="+echostr);
        return echostr;
    }
}
